package net.guerlab.smart.wx.service.service;

import net.guerlab.smart.wx.core.domain.LoginResponse;
import net.guerlab.smart.wx.core.domain.MaEncryptedData;

/**
 * 微信小程序登录服务
 *
 * @author guer
 */
public interface WxMaLoginService extends LoginService {

    /**
     * 注册
     *
     * @param appId
     *         appId
     * @param openId
     *         openId
     * @param encryptedData
     *         小程序加密信息请求
     * @return token
     */
    LoginResponse register(String appId, String openId, MaEncryptedData encryptedData);
}
